app.controller("loginController",function ($scope,loginService) {
    //用户登录
    $scope.loginName=()=>{
        loginService.loginName().success(response=>{
            $scope.name=response.name;
        })
    }
})